/* 
 * File:   cText.h
 * Author: gans
 *
 * Created on 3 Май 2011 г., 2:05
 */

#include <iostream>

#ifndef CTEXT_H
#define	CTEXT_H

class cText {
public:
    cText(int l);
    cText(const cText& orig);
    virtual ~cText();
    
private:
    int length;
    int dPos;
    char **strptr;
public:
    int getLength();
    void setLength(int l);
    void printText();
    void addString(char* s);
    int deleteString(int nS);
    void updateString(int nS, char* s);
    char *returnLastString();

};

#endif	/* CTEXT_H */

